function y = bdqrtic(x)
% BDQRTIC (CUTE Function   
%x0= [1.,1.,...,1.]..  
%fmin=n/2
%Author:shi yangyang
n=length(x);
y=ones(1,n-4);
t=ones(1,n-4);
for i=1:1:n-4
    t(i)=x(i)^2+2.0*x(i+1)^2+3.0*x(i+2)^2+4.0*x(i+3)^2+5.0*x(n)^2;
end
for i=1:1:n-4
    y(i)=(-4.0*x(i)+3.0)^2+t(i)^2;
end
y=sum(y);